#include<stdio.h>
struct Student
{
    int num;
    char name[20];
    char sex;
    int age;
};
struct Student stu[3]={{1,"yi",'M',11},{2,"er",'M',22},{3,"san",'F',33}};
int main()
{
    struct Student *p;
    printf("No. name sex age\n");
    for(p=stu;p<stu+3;p++)
    printf("%d,%s,%c,%d\n",p->num,p->name,p->sex,p->age);
    return 0;
} 
